home *** CD-ROM | disk | FTP | other *** search
Makefile | 1998-05-28 | 713 b | 38 lines |
- # Makefile for all the little utilities here
-
- CC = cc
- CFLAGS = -depend !Depend -throwback -fah
- CPPFLAGS= -IC:
-
- LINK = drlink -o $@
-
- FIXLIBS = -lib OSLib:o.OSLib C:o.stubs
-
- .SUFFIXES: .o .c
-
- .c.o:; $(CC) -c $(CFLAGS) -o $@ $<
-
- # Pseudo-targets:
- install: fcat whichslot newtypes
- squeeze fcat texsrc:bin.fcat
- squeeze whichslot texsrc:bin.whichslot
- squeeze newtypes texsrc:bin.newtypes
-
- # Targets:
- fcat: fcat.o
- $(LINK) fcat.o $(FIXLIBS)
-
- whichslot: whichslot.o
- $(LINK) whichslot.o $(FIXLIBS)
-
- newtypes: newtypes.o
- $(LINK) newtypes.o $(FIXLIBS)
-
- # Dynamic dependencies:
- o.newtypes: c.newtypes
- o.newtypes: OS:h.OSFile
- o.newtypes: OS:h.types
- o.newtypes: OS:h.os
- o.newtypes: OS:h.fileswitch
- o.newtypes: OS:h.OSGBPB
-